﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace ScotiabankWP7.Forms.PagoServicios
{
    public partial class PagosFrecuentes : PhoneApplicationPage
    {
        public PagosFrecuentes()
        {
            InitializeComponent();

            txtCompraVenta.Text = "TC: Compra = S/. 2.7965 Venta = S/. 2.8035";
            txtFecha.Text = "18/02/2001 18:50:52";
        }

        private void listaPagos_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            listaPagos.SelectedIndex = -1;

            PhoneApplicationFrame root = Application.Current.RootVisual as PhoneApplicationFrame;
            root.Navigate(new Uri("/Forms/PagoServicios/SeleccionaPagoPendiente.xaml?indice=3", UriKind.Relative));
        }
    }
}